const express = require('express');
const userRouter = express.Router();
const checkuser = require('../middleware/checkuser');

// userRouter.use(checkuser);

userRouter.get('/useradd',checkuser,(request,response)=>{
    response.send('useradd page');
})
userRouter.get('/userlist',(request,response)=>{
    response.send('userlist page');
})
userRouter.get('/userdelete',(request,response)=>{
    response.send('userdelete page');
})

module.exports = userRouter;